package com.explorati.array;

public class Student {

	private String name;
	private int score;

	public Student(String name, int score) {
		this.name = name;
		this.score = score;
	}

	@Override
	public String toString() {
		return String.format("String(name: %s, score: %d)", name, score);
	}

	public static void main(String[] args) {
		FArray<Student> array = new FArray<>();
		array.addLast(new Student("张三", 30));
		array.addLast(new Student("李四", 30));
		System.out.println(array);
	}

}
